import Layout from '@/layout';
export default {
	path: '/genericGoods',
	component: Layout,
	redirect: '/genericGoods/genericGoodsInfo',
	name: 'genericGoods',
	meta: { title: '非标商品管理', icon: 'Frame-5', routerType: 'ERP' },
	children: [
		{
			path: 'genericGoodsInfo',
			name: 'genericGoodsInfo',
			// hidden: true,
			component: () => import('@/views/genericGoods/genericGoodsInfo'),
			meta: { title: '非标商品档案', icon: '', anniu: 'genericGoodsInfo_list' }
		},
		{
			path: 'addGenericGoods',
			name: 'addGenericGoods',
			hidden: true,
			component: () => import('@/views/genericGoods/addGenericGoods'),
			meta: { title: '新增非标商品', icon: '', anniu: 'genericGoods_add', actived: true }
		},
		{
			path: 'editGenericGoods',
			name: 'editGenericGoods',
			hidden: true,
			component: () => import('@/views/genericGoods/addGenericGoods'),
			meta: { title: '修改非标商品', icon: '', anniu: 'genericGoods_edit' }
		},
		{
			path: 'genericGoodsDetails',
			name: 'genericGoodsDetails',
			hidden: true,
			component: () => import('@/views/genericGoods/addGenericGoods'),
			meta: { title: '非标商品详情', icon: '', anniu: 'genericGoods_detail' }
		},
		{
			path: 'goodsExamine',
			name: 'goodsExamine',
			// hidden: true,
			component: () => import('@/views/genericGoods/goodsExamine'),
			meta: { title: '非标点采审核', icon: '', anniu: 'goodsExamine_list' }
		},
		{
			path: 'goodsExamineDetail',
			name: 'goodsExamineDetail',
			hidden: true,
			component: () => import('@/views/genericGoods/goodsExamineDetail'),
			meta: { title: '非标点采审核详情', icon: '', anniu: 'goodsexamine_detail' }
		},
		{
			path: 'toGoodsExamine',
			name: 'toGoodsExamine',
			hidden: true,
			component: () => import('@/views/genericGoods/goodsExamineDetail'),
			meta: { title: '新增非标点采审核', icon: '', anniu: 'goodsexamine_examine' }
		},
		{
			path: 'storeAdvance',
			name: 'storeAdvance',
			// hidden: true,
			component: () => import('@/views/genericGoods/storeAdvance'),
			meta: { title: '门店预付款', icon: '', anniu: 'storeAdvance_list' }
		},
		{
			path: 'storeAdvanceDetail',
			name: 'storeAdvanceDetail',
			hidden: true,
			component: () => import('@/views/genericGoods/storeAdvanceDetail'),
			meta: { title: '门店预付款详情', icon: '', anniu: 'storeAdvance_detail' }
		},
		{
			path: 'storeAdvanceAdd',
			name: 'storeAdvanceAdd',
			hidden: true,
			component: () => import('@/views/genericGoods/storeAdvanceAdd'),
			meta: { title: '添加门店预付款', icon: '', anniu: 'storeAdvance_addmoney' }
		},
		{
			path: 'genericCategoryInfo',
			name: 'genericCategoryInfo',
			component: () => import('@/views/genericGoods/genericCategoryInfo'),
			meta: { title: '非标品分类管理', icon: '', anniu: 'genericCategoryInfo_list' }
		}
	]
};
